home *** CD-ROM | disk | FTP | other *** search
/ Amiga Games: 500 MB Amiga Software / 500 MB Amiga Software - Euber 130 - Amiga Games Disc & Mag.iso / userbox / publicdomain / amigafax / docs / userguide < prev    next >
Text File  |  1995-04-03  |  78KB  |  2,137 lines

  1.  
  2. AmigaFax
  3. *********
  4.  
  5. A Facsimile Software Package for the Amiga Computer
  6. Copyright (C) 1991-1995 by C-Born Software Systems
  7.  
  8.  
  9. Introduction
  10. *************
  11.  
  12. This manual describes the AmigaFax software package for the Amiga
  13. family of computers. AmigaFax was originally written both to solve a
  14. personal need for shared facsimile and data on a single telephone line,
  15. and to become a commercial software product. When changing company
  16. circumstances dictated that bringing the product to commercial release
  17. level in a reasonable time frame would not be possible, it was decided
  18. to release the package in `Shareware' form, rather than deprive the
  19. Amiga community of the work that had already gone into it. While total
  20. returns from the registration fee charged have not even covered code
  21. maintenance and distribution costs, we still feel it has been a
  22. worthwhile project, especially due to the many contacts it has allowed
  23. us to form with the worldwide Amiga community.
  24.  
  25.  
  26. What is AmigaFax?
  27. ==================
  28.  
  29. AmigaFax is a software package that, in combination with a FaxModem,
  30. allows you to send and receive facsimile information from your Amiga
  31. computer.  Received faxes can be viewed, printed, forwarded to other
  32. fax machines, and saved as ILBM files which can then be accessed using
  33. many standard Amiga programs.  You can transmit text, ILBM graphics,
  34. and combinations of these as faxes. Using the AmigaFax command language
  35. you can add text from any Amiga font, along with logos and ILBM
  36. graphics, to create high quality multi-page fax documents.
  37.  
  38. AmigaFax can be set up to automatically send documents to multiple
  39. recipients, to send faxes at or after set times, to answer incoming fax
  40. calls automatically, and even to forward received faxes (useful as a
  41. vacation mechanism).
  42.  
  43. Faxes can be printed on plain paper, using your normal Amiga printer.
  44.  
  45. AmigaFax is highly configurable, allowing you to set up a custom
  46. environment that best suits your hardware and way of working.
  47.  
  48.  
  49. Summary of Features
  50. ====================
  51.  
  52.    * *Automatic Reception*
  53.      AmigaFax may be configured to receive faxes in the background, or
  54.      to answer an already ringing line in Fax mode. Autoanswer may also
  55.      be integrated with a UUCP or BBS environment, where incoming calls
  56.      may be Fax or data, by using a specially modified version of the
  57.      getty program that recognises Fax calls.
  58.  
  59.    * *Automatic Transmission*
  60.      Faxes may be queued for transmission after a particular time, to
  61.      take advantage of lower off-peak telecom rates, for example. You
  62.      may specify the number of times to try before giving up on
  63.      transmission, and the period at which retry attempts should be
  64.      made. All call progress is logged, and progress may be monitored
  65.      from the main program. Call logging displays when attempts were
  66.      made, the success or failure of the call, and the Called Number ID
  67.      of the remote Fax machine reached.
  68.  
  69.    * *Multiple Recipients*
  70.      Fax numbers may be entered either directly, or using defineable
  71.      aliases. Therefore instead of sending to `99123456', you could
  72.      send it to `Fred'. In the same way, an alias can refer to a list
  73.      of other aliases, or numbers, so that one fax could be sent to
  74.      `Customers', representing a list of customers.
  75.  
  76.    * *Flexible Fax Viewer*
  77.      The Fax viewer allows you to view a fax document at scales of from
  78.      1:1 to 1:8. A 1:3 scale igenerally gives a quite readable image
  79.      while still fitting the entire Fax width across a standard Amiga
  80.      screen. You can easily zoom in on areas of particular interest if
  81.      required. The viewer may be configured to take advantage of new
  82.      display modes (eg Productivity) and add-in high resolution display
  83.      cards (eg Retina).
  84.  
  85.    * *Powerful Document Builder*
  86.      This allows you to mix any Amiga font or ILBM graphic on a page,
  87.      to include text, ILBM, Fax, or AmigaFax command files anywhere on
  88.      a page or in a document, perform alignment at character or pixel
  89.      level, justify text regardless of font size, automatically add
  90.      standard information such as address, signature, logo, and current
  91.      time/date. Text conversion includes selectable fonts size and
  92.      styles, including underline, bold and italic.
  93.  
  94.    * *TeX to fax conversion*
  95.      The `dvifax' program (registered version only) allows TeX `dvi'
  96.      files to be converted directly to fax files.
  97.  
  98.    * *Fax Printer-Driver*
  99.      The fax printer driver allows the output of wordprocessing, DTP,
  100.      painting and drawing programs to be converted directly to fax
  101.      files.
  102.  
  103.    * *Highly User Configurable*
  104.      The configuration file allows you to set the system up to suit your
  105.      requirements. You can define your prefered editor for text and for
  106.      graphics, set a standard file to use as a template when creating
  107.      new Fax documents, customize your dial type (pulse/tone, special
  108.      prefix to get outside line, etc), set the Caller ID string to
  109.      identify yourself to remote Fax machines, define the modem type
  110.      you are using, and set many system default values.
  111.  
  112.    * *Multiple Serial Port Support*
  113.      Using the A2232 multi-serial port card, AmigaFax can support
  114.      multiple FaxModems simultaneously, each modem being able to
  115.      transmit and receive facsimiles and data.
  116.  
  117.    * *Uses Preferences Printer*
  118.      Because the Amiga Preferences printer is used to print out the
  119.      documents, you can tradeoff speed for resolution as you require.
  120.  
  121.    * *Workbench or CLI interface*
  122.      AmigaFax can be run either from the workbench, or from a shell or
  123.      CLI interface. In either case, an easy to use graphical
  124.      presentation makes operation straightforward.
  125.  
  126.  
  127. System Requirements
  128. ====================
  129.  
  130. AmigaFax requires AmigaDOS version 1.3 or greater. It operates with
  131. AmigaDOS 2.0, and will run on Amigas from the original A1000 through to
  132. the A3000. It is possible to run on an unexpanded A1000 with 512K RAM
  133. and 1 disk drive, but in this case memory and disk restraints will
  134. limit the number and size of faxes that may be generated or received.
  135. In general the more memory and disk available the better. For
  136. unattended Auto-receive operation a hard disk system is highly
  137. desirable.
  138. Certain features, such as font scaling, ASL file requester, and
  139. demand-loading of the printer symbiont rely on AmigaDOS 2.0 features,
  140. and will not operate under 1.3
  141. As of AmigaFax version 1.40, support for AmigaDOS 1.3 will not be
  142. guaranteed, however we will endeavour to maintain basic operation as
  143. long as possible, and will listen to any user feedback in this area.
  144.  
  145. AmigaFax was designed to work with the Class-2 fax interface standard,
  146. it will `not' work with Class-1 FaxModems. Versions 1.42 and above of
  147. AmigaFax can also be configured to operate with the Class-2.0 FaxModem
  148. standard.
  149.  
  150.  
  151. Installation
  152. *************
  153.  
  154. *Warning:* Be sure to back up your original disks, and use working
  155. copies of the disks for normal operation.
  156.  
  157.  
  158. Installing the Software
  159. ========================
  160.  
  161. Information on installing the AmigaFax software on your system is given
  162. in the  ReadMe  file on the distribution disk. Insert the distribution
  163. disk, and from the WorkBench double-click on the ReadMe icon for
  164. instructions.
  165.  
  166. The installation script should automatically handle most installations.
  167. To use it, from the WorkBench double-click the Install_Now icon, or
  168. from a Shell window type  amigafax:install . The script will prompt you
  169. for information required to complete the installation.
  170.  
  171. If you are updating to a later revision, the installation procedure
  172. will not overwrite your configuration or alias files, so you will not
  173. lose information. However in this case you may want to examine the
  174. files in the directories  `lib.user'  and  `s.user' on the distribution
  175. disk for examples of more recent configuration options.
  176.  
  177. The AmigaFaX software requires certain logical assignments to be made.
  178. The installation procedure will create a file `afax:s/User-Startup'. 
  179. You must edit your `S:User-Startup' (2.0) or `S:Startup-Sequence' (1.3)
  180.  to include the contents of that file, which will be typically
  181. something like:
  182.  
  183.      assign afax: Work:AmigaFax
  184.      mount null:
  185.      run >nil: <nil: l:fifo-handler
  186.      if exists afax:s/AFAX-Startup
  187.              execute afax:s/AFAX-Startup
  188.      endif
  189.  
  190. If your `devs:MountList' doesn't contain an entry for the NULL: device,
  191. append the `MountList' file from the `devs' directory on the AmigaFax
  192. to it.
  193.  
  194.  
  195. Basic Configuration
  196. ====================
  197.  
  198. There are many possible ways to operate the AmigaFax software. You may
  199. wish to operate it as the only software using your FaxModem, or have it
  200. share the modem with other software such as AmigaUUCP. The AmigaFax
  201. spooler may be started when you boot up your computer, or only when you
  202. want to send a fax. Fax Auto-Answer may be left on all the time,
  203. started only when you are expecting a fax, or not used at all.
  204.  
  205. If you want the fax-spooler to start when you boot up your system, you
  206. must add the line
  207.  
  208.      run >nil: <nil: AFAX:C/afaxspl
  209.  
  210. to your startup sequence. This can be done in the `AFAX:s/AFaxAssign' 
  211. file, for example. Normally this would only be necessary if you send a
  212. lot of faxes with delayed spooling, and your computer may be rebooted
  213. often, as the spooler is automatically started when sending a fax.
  214.  
  215. If you want auto-answer with Fax detection running constantly in
  216. background, you may either use the modified `Getty' command, or use
  217. `faa' directly, by adding the line
  218.  
  219.      run >nil: <nil: faa
  220.  
  221. somewhere in your startup sequence.
  222.  
  223. Note that the modified `getty' will allow you to receive data and fax
  224. calls effectively, and is the recommended approach. However if you only
  225. wish to receive faxes, `faa' is effective and may be started by
  226. double-clicking on the *FaxAutoAnswer* icon.
  227.  
  228.  
  229. Hardware
  230. =========
  231.  
  232. The cable between your Amiga and Modem MUST connect CTS,RTS,DTR, DCD,
  233. TXD, RXD and GND conductors. CTS and RTS are used for flow control
  234. handshaking. DTR is used to keep the modem on line - hangup occurs if
  235. it is dropped. DCD is used for carrier detection.
  236.  
  237.      TXD   2  Transmit Data
  238.      RXD   3  Receive Data
  239.      RTS   4  Request to Send
  240.      CTS   5  Clear to Send
  241.      GND   7  Signal Ground
  242.      DCD   8  Data Carrier Detect
  243.      DTR  20  Data Terminal Ready
  244.  
  245.  
  246. ARP
  247. ====
  248.  
  249. If you have the ARP library installed (`Libs:arp.library') the system
  250. will make use of it for file requesters.
  251.  
  252. Support for the ASL library under AmigaDOS2.0 has now been added to
  253. AmigaFax.  It is used in preference to ARP.
  254.  
  255.  
  256. Extra FONTS
  257. ============
  258.  
  259. Some extra fonts have been included in the FaxFonts directory. You may
  260. let the installation script copy them into your `FONTS:' directory, or
  261. under AmigaDOS2.0 you may copy them into another directory, and modify
  262. your startup to extend the `FONT:' assign to that directory. The extra
  263. fonts are from the *Computer Modern* series, as used with TeX.
  264. These fonts will normally *not* be required under AmigaDOS2.0. You are
  265. much better off using the built-in font scaling where it is available.
  266.  
  267.  
  268. Printer Setup
  269. ==============
  270.  
  271. AmigaFax currently uses the standard printer driver, as configured in
  272. `Preferences'.  Using a dot-matrix printer, Halftone Dithering, Integer
  273. Scaling, Black and White, Density 7 appears to work reasonably well.
  274.  
  275.  
  276. Configuring for Hardware and User Preferences
  277. ==============================================
  278.  
  279. You will need to modify the file  `FAXLIB:Config'  to suit your
  280. specific hardware and preferences. See Configuring the System, for
  281. details on how to do this.
  282.  
  283.  
  284. Configuring the System
  285. ***********************
  286.  
  287. The file `FAXLIB:Config'  is used to configure the basic operation of
  288. AmigaFax to suit your particular hardware and preferences. You must
  289. edit this file carefully, using a text editor. You should always keep a
  290. backup copy of this file. The configuration options are continually
  291. being added to as AmigaFax grows, so if you are upgrading you should
  292. look at the latest copy. This will *NOT* overwrite your existing
  293. configuration as part of the installation process.
  294.  
  295. From version 1.30, AmigaFax configuration can be done using local or
  296. global environmental variables. This will override the values read in
  297. from the  `FAXLIB:Config'  file. For example typing from the CLI/Shell
  298.  
  299.      SetEnv LocalID +61-52-786355
  300.  
  301. will override the `LocalID' string with the new number. Parameters set
  302. by command-line switches will override both environmental and
  303. config-file values.
  304.  
  305.  
  306. General Configuration
  307. ======================
  308.  
  309.    * *Debug*
  310.      Debug level, 0-9. Takes one numeric argument. Useful for
  311.      fault-finding, observing handshake between the Amiga and your
  312.      FaxModem.
  313.  
  314.      For version 1.42 I've made some changes, including level-3 debug
  315.      now printing configuration information, so you can now see whether
  316.      you are in XonXoff, SyncEOL, etc. modes. To make sure you see all
  317.      the config. information, you should use the -d3 command line
  318.      switch, which will be checked early in startup (before config-file
  319.      read in).
  320.  
  321.    * *LogFile*
  322.      Specifies the file for logging debug and error information. If not
  323.      given, information will not be logged.
  324.  
  325.    * *LocalID*
  326.      The rest of the line is used as the local identifier string, which
  327.      is passed to the remote fax machine. This is usually your fax
  328.      number, and is limited to 20 characters. Some faxmodems (eg Supra)
  329.      require the ID string to be enclosed in double-quotes, others do
  330.      not allow this. *Important:* This seems to be the setting which
  331.      gives new users the most problems when trying to get AmigaFax
  332.      working. If you have difficulties please try setting your
  333.      `LocalID' both with and without the enclosing double-quotes.
  334.           LocalID "123-4567"
  335.           LocalID  123-4567
  336.  
  337.    * *Device*
  338.      The device to use for connecting to the modem, usually
  339.      serial.device  (default). This should only be changed if using a
  340.      different serial device, as with a third-party serial hardware.
  341.  
  342.    * *Unit*
  343.      Takes one numeric parameter as the unit number to use on the given
  344.      device. Default is 0. For example when using the first port on the
  345.      A2232 multi-serial, set this to 2.
  346.  
  347.    * *FCLASS*
  348.      Currently must be set to 2.0 for Class-2.0 FaxModems, otherwise
  349.      will use Class-2 interface standard.
  350.  
  351.  
  352. AmigaFax User Interface
  353. ========================
  354.  
  355. These items are used by the  `afax'  program.
  356.    * *Editor*
  357.      The name of the your prefered text editor, for example `TxEd, ced,
  358.      memacs, dme, mg', or `Ed' (default). I use `mg' (MicroGnuEmacs).
  359.  
  360.    * *ILBMEditor*
  361.      The editor you prefer for editing IFF ILBM graphics, for example
  362.      `dpaint'.
  363.  
  364.    * *Template*
  365.      The name of a file to use as a template for building fax
  366.      documents, If given, the editor will be given a copy of this file
  367.      to work on when you ask for a new fax file. This may include
  368.      references to your address, your signature, etc.
  369.  
  370.  
  371. Fax Page Layout Options
  372. ========================
  373.  
  374. These items are used by the  `mkafax'  program.
  375.    * *DefaultFont*
  376.      This is the default font, used for normal text unless otherwise
  377.      specified. It takes two parameters, the font name, and size. The
  378.      TeXfont  `cmtt10 41'  looks quite good for standard text, as does
  379.      the Amiga font `courier 32'.
  380.  
  381.    * *HeaderFont*
  382.      This is the font used for page headers. My current setting is
  383.      `courier 16'.
  384.  
  385.    * *PHeader*
  386.      If given, a header will be printed on each fax page, and the rest
  387.      of the line used as the main text, along with the date, local ID
  388.      string, and page number. If not given, no header will be printed.
  389.  
  390.    * *LeftIndent*
  391.      The left indentation (border) to be used, in pixels. Many fax
  392.      machines will not print to the full fax width, and typically an
  393.      indentation of at least 50 pixels (approx 1/4 inch) on each size
  394.      is required to avoid losing characters.
  395.  
  396.    * *RightIndent*
  397.      The right indentation (border) to be used, in pixels.
  398.  
  399.    * *SyncEOL*
  400.      When set, `mkafax' will create faxes with EOL (End-Of-Line)
  401.      markers byte-aligned. While this should not be necessary, and
  402.      results in larger files, some fax modems to not correctly identify
  403.      EOL sequences which are not byte aligned, and this can cause
  404.      problems. ZyXEL modems with ROM versions before 6.00 had this
  405.      problem, and certain rare fax files could cause the modem to lock
  406.      up completely.
  407.  
  408.  
  409. Fax Viewer Configuration
  410. =========================
  411.  
  412. These items are used by the  `viewafax'  program.
  413.    * *ViewScale*
  414.      Takes one numeric argument, 1-8. This is the default scale used by
  415.      the fax viewer when it starts up. A value of three allows a
  416.      standard fax to fit across the screen. A scale of 1 shows maximum
  417.      detail.
  418.  
  419.    * *CustomScreen*
  420.      Under AmigaDOS2.0 only, the value of this parameter is passed to
  421.      the OpenScreen() call in the ti_Data field of the SA_DisplayID tag
  422.      item. This allows users to define what type of screen the viewer
  423.      will appear on. The default values passed are PAL_MONITOR_ID and
  424.      HIRESLACE_KEY. The value should be entered as a hex number,
  425.      without the leading 0x, eg
  426.  
  427.      CustomScreen 00031000
  428.  
  429.      Some possible values are:
  430.           DEFAULT_MONITOR_ID        0x00000000
  431.           NTSC_MONITOR_ID           0x00011000
  432.           PAL_MONITOR_ID            0x00021000
  433.           VGA_MONITOR_ID            0x00031000
  434.           
  435.             or'ed with
  436.           
  437.           LORES_KEY                 0x00000000
  438.           HIRES_KEY                 0x00008000
  439.           SUPER_KEY                 0x00008020
  440.           HAM_KEY                   0x00000800
  441.           LORESLACE_KEY             0x00000004
  442.           HIRESLACE_KEY             0x00008004
  443.           SUPERLACE_KEY             0x00008024
  444.           HAMLACE_KEY               0x00000804
  445.           LORESDPF_KEY              0x00000400
  446.           HIRESDPF_KEY              0x00008400
  447.           SUPERDPF_KEY              0x00008420
  448.           LORESLACEDPF_KEY          0x00000404
  449.           HIRESLACEDPF_KEY          0x00008404
  450.           SUPERLACEDPF_KEY          0x00008424
  451.           LORESDPF2_KEY             0x00000440
  452.           HIRESDPF2_KEY             0x00008440
  453.           SUPERDPF2_KEY             0x00008460
  454.           LORESLACEDPF2_KEY         0x00000444
  455.           HIRESLACEDPF2_KEY         0x00008444
  456.           SUPERLACEDPF2_KEY         0x00008464
  457.           EXTRAHALFBRITE_KEY        0x00000080
  458.           EXTRAHALFBRITELACE_KEY    0x00000084
  459.           VGAEXTRALORES_KEY         0x00031004
  460.           VGALORES_KEY              0x00039004
  461.           VGAPRODUCT_KEY            0x00039024
  462.           VGAHAM_KEY                0x00031804
  463.           VGAEXTRALORESLACE_KEY     0x00031005
  464.           VGALORESLACE_KEY          0x00039005
  465.           VGAPRODUCTLACE_KEY        0x00039025
  466.           VGAHAMLACE_KEY            0x00031805
  467.           VGAEXTRALORESDPF_KEY      0x00031404
  468.           VGALORESDPF_KEY           0x00039404
  469.           VGAPRODUCTDPF_KEY         0x00039424
  470.           VGAEXTRALORESLACEDPF_KEY  0x00031405
  471.           VGALORESLACEDPF_KEY       0x00039405
  472.           VGAPRODUCTLACEDPF_KEY     0x00039425
  473.           VGAEXTRALORESDPF2_KEY     0x00031444
  474.           VGALORESDPF2_KEY          0x00039444
  475.           VGAPRODUCTDPF2_KEY        0x00039464
  476.           VGAEXTRALORESLACEDPF2_KEY 0x00031445
  477.           VGALORESLACEDPF2_KEY      0x00039445
  478.           VGAPRODUCTLACEDPF2_KEY    0x00039465
  479.           VGAEXTRAHALFBRITE_KEY     0x00031084
  480.           VGAEXTRAHALFBRITELACE_KEY 0x00031085
  481.  
  482.  
  483. Fax Printer Configuration
  484. ==========================
  485.  
  486. These items are used by the `afaxprt' program.
  487.    * *MinLines*
  488.      `MinLines' is used to scale a fax page to fit on a printer page.
  489.      If the fax page is longer then the printer page by less than
  490.      MinLines, it will be scaled to fit. A value of around 500 works
  491.      for most faxes.
  492.  
  493. `MinLines' had a different meaning in versions of AmigaFax prior to
  494. 1.32, as follows:
  495.      Takes one numeric argument. This is the minimum number of lines
  496.      that must be on a fax page before we print it. The default value
  497.      is 0 (zero), meaning print all pages. This is for cut-sheet
  498.      feeders (Laser Printers), where the fax may be just a little
  499.      longer than one page. Use a value of around 100 here to stop
  500.      getting `blank pages' printed out.
  501.  
  502.  
  503. Fax Spooler Configuration
  504. ==========================
  505.  
  506. These items are used by the `afaxspl'  program.
  507.    * *SpoolInterval*
  508.      This is the time interval, in minutes, at which the outbound fax
  509.      queue is scanned for untransmitted files.
  510.  
  511.  
  512. Fax Receiver Configuration
  513. ===========================
  514.  
  515. These items are used by the  `faa'  program.
  516.    * *RSetup*
  517.      The receive setup string. This optional string is sent to the
  518.      modem. Unlike versions before 1.23, the string is *not* preceded
  519.      by AT . Instead, the line is sent as it appears. This allows
  520.      multiple commands to be sent when initializing the modem. This
  521.      allows you to add commands to set such things as speaker use and
  522.      volume.
  523.  
  524.    * *RStatus*
  525.      Receive Status. If present, a status window will pop up when a fax
  526.      is being received, showing various details such as name, connect
  527.      speed, transmitter ID, amount of data received. It takes two
  528.      optional numeric parameters, which are used for the top and left
  529.      edge pixel positions to place the window.
  530.  
  531.    * *DLEmode*
  532.      There are many incompatible modems and modem ROM revisions about.
  533.      This allows you to specify certain things about how your FaxModem
  534.      sends your data. It currently takes one numeric argument, (0, 1 or
  535.      3).     
  536.               
  537.  
  538.         * 0  (default) treat DLE in received data as escape          
  539.           (Maestro 3.1, ZyXEL 3.99+)     
  540.  
  541.         * 1  Received DLE is g3 data  (ZyXEL Vn3.90, Supra?)     
  542.  
  543.         * 3  RAW input mode. Data is saved raw. For debug only.     
  544.  
  545.    * *RRate*
  546.      Sets the initial baud rate (`Receive Rate') for modem
  547.      communications. This defaults to 2400, for simple faxmodems that
  548.      normally communicate at 2400, but switch to 19200 for actual fax
  549.      data. More advanced modems, such as the ZyXEL, will communicate at
  550.      19200 baud or greater, at a locked DCE-DTE rate, as per the
  551.      FaxModem specification. I have this set to 19200, which is the
  552.      highest speed common to my FaxModem and the AS2232 multiport
  553.      serial card.
  554.  
  555.      When receipt handshaking is via the `getty' program, `RRate' is
  556.      not used.
  557.  
  558.  
  559. Fax Transmitter Configuration
  560. ==============================
  561.  
  562. These items are used by the `afaxsend'  program.
  563.  
  564.    * *WSetup*
  565.      The transmit setup string. This optional string is sent to the
  566.      modem. As in the `RSetup' line, the line is sent to the modem as it
  567.      appears (since 1.23). This allows you to add commands to set such
  568.      things as speaker use and volume.
  569.  
  570.    * *DialType*
  571.      Takes the parameters `Pulse' (default) or `Tone'.
  572.  
  573.    * *DialPrefix*
  574.      Prefix to add before number when dialling. I use it to get an
  575.      outside line (dials 0 first), by setting it to `ATDP0,DT,' which
  576.      will pulse-dial 0, then tone-dial the rest of the number.
  577.  
  578.    * *DoPadding*
  579.      This should not be necessary. However, some FaxModems to not
  580.      observe the minimum scan-time restrictions set by the standard.
  581.      When connecting to slower fax machines, this may result in missed
  582.      scan-lines. Note that if you set this parameter, it will usually
  583.      result in fax transmissions taking longer, as worst-case padding
  584.      must be added.
  585.  
  586.    * *WStatus*
  587.      Write Status. If present, a status window will pop up when a fax is
  588.      being transmitted, showing various details such as name, connect
  589.      speed, receiver ID, percent of file sent. It takes two optional
  590.      numeric parameters, which are used for the top and left edge pixel
  591.      positions to place the window.
  592.  
  593.    * *ScriptBeforeSending*
  594.      This may contain the name of a CLI command script to be executed
  595.      before a fax is sent. The script is executed synchronously before
  596.      the serial device is locked or opened.
  597.  
  598.    * *ScriptAfterSending*
  599.      This may contain the name of a CLI command script to be executed
  600.      after a fax has been sent. The script is executed synchronously
  601.      just before `afaxsend' terminates.
  602.  
  603.    * *XonXoff*
  604.      If set, causes `afaxsend' to use XON/XOFF handshaking with the
  605.      faxmodem while transmitting fax data. This is not normally
  606.      necessary, as the modems should implement CTS/RTS hardware
  607.      handshaking, but some modems, such as the NetComm M7F, have a
  608.      hardware bug that prevents the hardware handshake working.
  609.      Symptoms are buffer overrun, and loss of fax data.
  610.  
  611.      For version 1.42 and above, use of the XonXoff config variable has
  612.      been changed as follows:
  613.  
  614.           XonOff 0  - disabled
  615.                  1  - Use maximum buffer (1000 bytes)
  616.                 nnn - Use nnn size line buffer
  617.  
  618.      This allows you to set the size of the line AmigaFax uses for
  619.      asynchronous writes, which controls the granularity of XONXOFF
  620.      checking.
  621.  
  622.      For testing, I'd start off with something like
  623.  
  624.           XonOff 10
  625.  
  626.      which means that AmigaFax will check for XOFF every 10 characters
  627.      sent. As the value is increased, overall throughput should
  628.      increase, until the point where the modem buffer overflows with a
  629.      single line.
  630.  
  631.      If that doesn't help, perhaps the USR hasn't used the default
  632.      XonXoff control like it should. You can force this by putting an
  633.      AT+FLO=1 in your setting string. Alternatively, AT+FLO=2 will
  634.      force hardware handshake, if the modem supports it.
  635.  
  636.  
  637. PrintSymb Configuration
  638. ========================
  639.  
  640. These items are used by the `PrintSymb' program.
  641.  
  642.    * *FAXFILE*
  643.      This contains the name of the file to write fax-data from the
  644.      printer-driver to. If not defined, data will be written to the file
  645.      `FAXSPOOL:P_xxxx.AFX', where `xxxx' is used to create a new
  646.      sequential name, or if that cannot be done it will be written to
  647.      `Ram:fax.prt'.
  648.  
  649.      When you do not with the fax file to be retained, you may direct
  650.      is to a temporary file, eg `SetEnv FAXFILE t:fx'. The variable
  651.      will be read in again every time file is created, so you may
  652.      change it dynamically.
  653.  
  654.    * *ClipPage*
  655.      This is used to clip whitespace from the top and bottom of a page
  656.      sent to the fax printer driver. At present only bottom-clipping is
  657.      implemented, but for future compatability use the following values:
  658.           ClipPage 1    # Remove whitespace at bottom of page
  659.           ClipPage 2    # Remove whitespace at top of page
  660.           ClipPage 3    # Remove whitespace at top and bottom of page
  661.  
  662.    * *FaxPrintNotify*
  663.      This may be optionally used to specify another command to run when
  664.      the afax printer-driver has captured a fax-file, rather than the
  665.      standard `afax:c/afax'. It may be a standard command, or a
  666.      shell-script. The command will be run with one parameter, the name
  667.      of the Fax-File. For example:
  668.  
  669.           FaxPrintNotify AFAX:S/afax.scp
  670.  
  671.      The shell script AFAX:S/afax.scp will be run, with the name of the
  672.      fax-file as its only parameter.
  673.  
  674.  
  675. Class-2.0 Operation
  676. ====================
  677.  
  678. The protocol used by AmigaFax for communication between the Amiga and
  679. the FaxModem is known as `Class-2'. This standard has been around in
  680. draft form for several years, and the majority of FaxModems on the
  681. market use a version of it. However the standard went through many
  682. draft revisions without passing industry ballot and being approved, and
  683. modem manufacturers came up with different interpretations of the draft
  684. versions. When the standard was finally approved in April 1993, it was
  685. known as Class-2.0 to differentiate it from the many Class-2
  686. implementations. The released standard is `ANSI/TIA/EIA-592-1993', or
  687. `Asynchronous Facsimile DCE Control Standard - Service Class II'.
  688.  
  689. Versions 1.42 and above of AmigaFax can be configured to use the
  690. approved standard interface. We have tested the software satisfactorily
  691. with some manufacturers implementations of the standard, we have found
  692. other implementations of Class-2.0 that do not fully comply. There are
  693. some sample configuration files included with the distribution that
  694. have been provided by AmigaFax testers, which have been found to work
  695. with specific FaxModems. Users are encouraged to submit configurations
  696. they find to work with other hardware.
  697.  
  698. To determine whether your modem uses Class-2 or Class-2.0 interface
  699. standards, use a terminal emulator program to connect to the FaxModem,
  700. and enter the command:
  701.  
  702.      AT+FCLASS=?
  703.  
  704. The modem should respond with a string containing a 2, a 2.0, or
  705. possibly both. The ZyXEL U-1496 responds with both as it can be
  706. configured to use either standard. If your modem does not respond with
  707. a 2 or 2.0, it will `NOT' with with AmigaFax.
  708.  
  709. To configure `faa' and `afaxsend' to operate in Class-2.0 mode, you
  710. must have the line:
  711.  
  712.      FCLASS 2.0
  713.  
  714. in your FAXLIB:Config file, or set it in your global or local
  715. environment:
  716.  
  717.      SetEnv FCLASS 2.0
  718.  
  719. The new getty uses bit 3 of the -F flags to indicate Class-2.0
  720. operation, so you must add 8 to these flags on getty startup.
  721.  
  722.      getty -Mh -B19200 -x9 -F6 AT&C1&D3+FCC=1,5,0,2
  723.      
  724.       becomes
  725.      
  726.      getty -Mh -B19200 -x9 -F14 AT&C1&D3+FCC=1,5,0,2
  727.  
  728. If you are upgrading from a previous version of AmigaFax to version
  729. 1.42 and you have any configuration values setup in config file or
  730. environment for WSetup, RSetup, XONXOFF, or various modem command
  731. overrides, you should remove them, or modify them according to
  732. specifications below.
  733.  
  734.    * AFaxSend
  735.  
  736.      For Class-2.0 the default WSetup string is:
  737.  
  738.           AT&C1&D3S7=255+FCLASS=2.0+FNR=1,1,1,0+FCC=1,5,0,2
  739.  
  740.    * Faa
  741.  
  742.      For Class-2.0 the default RSetup string is:
  743.  
  744.           AT&C1&D3S7=255+FCLASS=2.0+FNR=1,1,1,0+FCR=1+FAA=1+FCC=1,5,0,2 ATS0=2
  745.  
  746.      With the change to 2.0, the Phase-C bit order on receive appears to
  747.      have been reversed. I am not sure if this is universal, or a fault
  748.      with the ZyXEL 6.13 ROMs, as the ZyXEL currently disregards the
  749.      +FBO bit-order control. I am currently reversing when in 2.0,
  750.      UNLESS the config variable "OldBitOrder" is defined. If you
  751.      receive faxes that appear unreadable in Class-2.0 mode, try a
  752.  
  753.           SetEnv OldBitOrder 1
  754.  
  755.      and see if that helps. If so, PLEASE let me know as soon as
  756.      possible.
  757.  
  758.    * Modem Commands
  759.  
  760.      The inbuilt modem commands are shown below. You should not need to
  761.      override these, as 2.0 is now an approved standard. Some of these
  762.      (eg +FPTS) are not used by AmigaFax.
  763.  
  764.           +FCO +FCI +FTI +FCS +FIS +FKS +FPTS +FET +FHS
  765.           +FDT +FDR +FLI +FIS
  766.  
  767.      Note that some of the Class-2 inbuilts have been modified also. 
  768.      The current Class-2 commands are:
  769.  
  770.           +FCON +FCSI +FTSI +FDCS +FDIS +FK +FPTS +FET +FHNG
  771.           +FDT  +FDR  +FLID +FDIS
  772.  
  773.    * Flow Control
  774.  
  775.      Class-2.0 defaults to Xon/Xoff flow control, which I am not too
  776.      fond of. This will be set automatically (afaxsend only) when in
  777.      2.0 mode. However you can override this with the XONXOFF config
  778.      variable.
  779.  
  780.           SetEnv XonXoff 1
  781.  
  782.      will force Xon/Xoff flow control to be used,
  783.  
  784.           SetEnv XonXoff 0
  785.  
  786.      will disable it, regardless of the FCLASS setting.
  787.  
  788.      However if you have hardware handshaking, and want your modem to
  789.      use it, you should add
  790.  
  791.           AT+FLO=2
  792.  
  793.      to your RSetup and WSetup strings, as well as to your getty startup
  794.      initialization array. This may become the default later. Comments ?
  795.  
  796.    * getty
  797.  
  798.      Under the original Class-2 specification, it was possible to leave
  799.      the modem in FCLASS=0 (data) mode, with FAA=1, and to automatically
  800.      receive a fax, along with data on connect speed and remote ID.
  801.  
  802.      With the ZyXEL U-1946, supporting Class-2 and Class-2.0, in data
  803.      mode the modem reports fax connection parameters in Class-2 format
  804.      only. With other Class-2.0 modems, it may not do so at all.
  805.      Instead the standard allows for a modem in FCLASS=2.0 with FAA=1 to
  806.      automatically detect a data call, and to connect in data mode. The
  807.      parameter +FNR=1,1,1,0 must be set in order to get connection data,
  808.      and to negotiate transfer rates greater than 2400 baud!
  809.  
  810.      To cope with this, the getty -F flag has been extended so that bit
  811.      3 set (=8) means connect as FCLASS=2.0. The modem will be set to
  812.      FCLASS=2.0, FAA=1, FNR=1,1,1,0. Whenever another program requests
  813.      use of the serial port from getty, getty will set the modem back to
  814.      FCLASS=0, or data mode. This is also done when getty exits.
  815.  
  816.      While adding this code, I also traced and fixed a (long-standing
  817.      ?) bug in getty, which was causing my machine to crash when getty
  818.      shut down. It was caused by the order of closing in the myexit()
  819.      function. This effects other versions of getty, including the one
  820.      distributed with AmigaUUCP 1.17beta.
  821.  
  822.    * Other Changes for 1.42
  823.  
  824.      I've made some changes, including level-3 debug now printing
  825.      configuration information, so you can now see whether you are in
  826.      XonXoff, SyncEOL, etc. modes. To make sure you see all the config.
  827.      information, you should use the -d3 command line switch, which
  828.      will be checked early in startup (before config-file read in).
  829.  
  830.      I've also changed the use of the XonXoff config variable, as
  831.      follows:
  832.  
  833.           XonOff 0  - disabled
  834.                  1  - Use maximum buffer (1000 bytes)
  835.                 nnn - Use nnn size line buffer
  836.  
  837.      This allows you to set the size of the line AmigaFax uses for
  838.      asynchronous writes, which controls the granularity of XONXOFF
  839.      checking.
  840.  
  841.      For testing, I'd start off with something like
  842.  
  843.           XonOff 10
  844.  
  845.      which means that AmigaFax will check for XOFF every 10 characters
  846.      sent. As the value is increased, overall throughput should
  847.      increase, until the point where the modem buffer overflows with a
  848.      single line.
  849.  
  850.      If that doesn't help, perhaps the USR hasn't used the default
  851.      XonXoff control like it should. You can force this by putting an
  852.      AT+FLO=1 in your setting string. Alternatively, AT+FLO=2 will
  853.      force hardware handshake, if the modem supports it.
  854.  
  855.  
  856. Modem Command and Status Strings
  857. =================================
  858.  
  859. Certain  modem commands and status codes have now been made variable.
  860. The variables default to their own value, and may be set in the Config
  861. file, or as environment variables.
  862.  
  863.      eg    setenv +FLID +FLI
  864.  
  865. will result in the string `+FLI' rather than `+FLID' being used for
  866. setting the local ID code.
  867.  
  868. Variables are:
  869.  
  870.    * Status     
  871.               
  872.  
  873.         * +FCON      Fax connect established     
  874.  
  875.         * +FCSI     Called station identifier follows     
  876.  
  877.         * +FTSI     Transmitting station identifier follows     
  878.  
  879.         * +FDCS     Current session parameters follow     
  880.  
  881.         * +FK     
  882.  
  883.         * +FPTS     
  884.  
  885.         * +FHNG     Fax hangup (terminal)     
  886.  
  887.    * Command     
  888.               
  889.  
  890.         * +FDT     Fax Data Transmit (I am about to transmit)     
  891.  
  892.         * +FDR     Fax Data Receive     
  893.  
  894.         * +FLID     Local ID string follows     
  895.  
  896.    * Dual Use     
  897.               
  898.  
  899.         * +FET     Fax End of Transmission (Followed by status code)     
  900.  
  901.         * +FDIS     Constrain session parameters     
  902.  
  903.  
  904. Configuration Variables Index
  905. ==============================
  906.  
  907.  
  908. The Workbench Interface
  909. ************************
  910.  
  911. Once configured, AmigaFax may be operated either from a Shell or CLI
  912. (Command Line Interface), or from the Workbench. If you choose to
  913. operate from the Workbench, you will find three main icons, `AmigaFax',
  914. `FaxAutoAnswer' and `FaxSpool'.
  915.  
  916.  
  917. AmigaFax
  918. =========
  919.  
  920. When you double-click on the `AmigaFax' icon, the main AmigaFax control
  921. window will open. This allows you to edit, compile and view faxes,
  922. queue them for transmission, review previously queued transmissions,
  923. and so forth. There are currently six string gadgets, six pushbutton
  924. gadgets, and one toggle gadget on the control window.
  925.  
  926. The gadget functions are:
  927.  
  928.    * *FINE/STD*
  929.      This toggle gadget allows the user to toggle between `Fine' (200
  930.      DPI) and `Standard' (100 DPI) vertical resolution, when creating
  931.      AFax files.  Standard resolution takes half the space, and half the
  932.      time to transmit, of `Fine' mode, but `Fine' looks *much* nicer !!
  933.  
  934.    * *To:*
  935.      This is the intended recipient of the Fax. It may be just a phone
  936.      number, or it may be an alias. When you enter a string and press
  937.      return, if the first character is a digit it will be treated as a
  938.      number, otherwise it will be checked for aliases. If no aliases are
  939.      found, the string is removed, otherwise the number of aliases
  940.      found is shown. See Aliases, for more information on aliases.
  941.  
  942.    * *From:*
  943.      This is picked up from the `LocalID' field in your Config file, if
  944.      present. You may override this value. It is a 20 character string
  945.      sent to the remote Fax to identify you as the sender, usually your
  946.      phone number for return faxes.
  947.  
  948.    * *Source:*
  949.      This is the name of the fax source document, usually an AmigaFax
  950.      command (`.FCOM') file, although plain text or ILBM files may also
  951.      be used.  If you press return with an empty string, and ARP is
  952.      installed, a requester will prompt you for a filename.
  953.  
  954.    * *AFAX:*
  955.      This is the name for the actual fax file. The system will usually
  956.      pick a name for you, but you may wish to override it.  Note that
  957.      the AFAX file name will be reserved, but not actually created,
  958.      until time to send the Fax. You may force creation with the "Make"
  959.      gadget if you wish to test that it is created correctly.  If a
  960.      document is to be faxed to multiple recipients, only one copy of
  961.      the AFAX file will be made. It is automatically deleted when all
  962.      recipients have been reached.
  963.  
  964.    * *Tries:*
  965.      The maximum number of times to try to get a fax through to a
  966.      specific recipient if problems are encountered, such as remote
  967.      phone being engaged. Defaults to three.
  968.  
  969.    * *Time:*
  970.      The Fax will not be sent until after this time. An empty field
  971.      means send at any time. Fill in as hh:mm, (24 hour format) then
  972.      press return. The system will interpret the time, and display the
  973.      result. Time can only be in the future, past time is rounded up by
  974.      a day.
  975.  
  976.    * *New*
  977.      Create a new Fax document, and edit it using your configuration
  978.      editor.  The file pointed to by the configuration entry `Template'
  979.      will be used as a fax pro-forma.  The system will pick a default
  980.      document name for you, which you may keep or override.
  981.  
  982.    * *Edit*
  983.      Edit a Fax document, using your configuration editor. Note that you
  984.      may set both a text and a graphic editor in your  `config' file.
  985.  
  986.    * *Make*
  987.      The system will attempt to build an AFAX file from your source
  988.      document. This is not necessary when sending faxes, but does allow
  989.      you to check whether the document will appear as you wish.
  990.  
  991.    * *Preview*
  992.      Invokes the AFAX viewer program, so you can preview the completed
  993.      document.
  994.  
  995.    * *Send*
  996.      Your facsimile document will be queued for sending to the
  997.      appropriate recipients.  If the fax-spooler is not running, you
  998.      will be asked if you wish to start it.
  999.  
  1000.    * *QCheck*
  1001.      This gadget will bring up the queue check window, to monitor the
  1002.      progress of outgoing Faxes. From here it is possible to requeue
  1003.      Faxes that have exceeded their error allowance, and to remove the
  1004.      spool files for faxes that have been successfully sent, or that
  1005.      are still queued for transmission.
  1006.  
  1007.  
  1008. FaxAutoAnswer
  1009. ==============
  1010.  
  1011. This icon will activate the background automatic-answer facility. If it
  1012. is already operating, you will get the choice of removing the existing
  1013. application (stopping it), or replacing it with the new version. You
  1014. may wish to replace it if you have modified the configuration file
  1015. settings.
  1016.  
  1017. Note that you should only activate the auto-answer system in this
  1018. fashion if you are  not  using the GETTY mode of operation, and only
  1019. want to receive facimile transmissions, not data.
  1020.  
  1021.  
  1022. FaxSpool
  1023. =========
  1024.  
  1025. This icon will activate the background fax-spooler program. If it is
  1026. already operating, you will get the choice of removing the existing
  1027. application (stopping it), or replacing it with the new version.  Note
  1028. that in normal operation the main AmigaFax program will start the
  1029. spooler for you when you queue a fax for transmission, or you will run
  1030. it up automatically in your startup sequence.  You may wish to replace
  1031. it if you have modified the configuration file settings.
  1032.  
  1033.  
  1034. Operating from the Shell
  1035. *************************
  1036.  
  1037. The main executable modules included in the release are:
  1038.  
  1039.    * `afax'       Intuitionized interface for AFAX create/edit/send etc
  1040.  
  1041.    * `newfax'
  1042.      Notifies new fax received, allows print/view/delete, etc
  1043.      [Intuitionized interface]
  1044.  
  1045.    * `afaxspl'
  1046.      Fax spooler daemon, many options/features
  1047.  
  1048.    * `mkafax'
  1049.      Convert documents to AmigaFax AFAX IFF file format
  1050.  
  1051.    * `afaxprt'
  1052.      Print and AmigaFax AFAX IFF file using preferences printer
  1053.  
  1054.    * `afaxsend'
  1055.      Send an AmigaFax AFAX IFF file to a remote Fax machine
  1056.  
  1057.    * `faa'
  1058.      Receive Fax documents in auto-answer mode
  1059.  
  1060.    * `afaxilbm'
  1061.      Convert pages from an AmigaFax AFAX IFF file to ILBM format
  1062.  
  1063.    * `viewafax'
  1064.      AmigaFax document viewer
  1065.  
  1066.    * `fxfx'
  1067.      Manipulates fax files
  1068.  
  1069.    * `dvifax'
  1070.      Converts TeX .dvi file to fax format (Registered version only)
  1071.  
  1072.    * `showlib'
  1073.      Display licence status
  1074.  
  1075.    * `printsymb'
  1076.      AmigaFax printer-driver print symbiont (assists afax.driver)
  1077.  
  1078.    * `FPrint'
  1079.      Redirect printer output to afax.driver
  1080.  
  1081.    * `FaxInfo'
  1082.      Print information about fax file
  1083.  
  1084.  
  1085. AFAX
  1086. =====
  1087.  
  1088. `AFAX:c/afax'
  1089. `Afax' takes only one command line option at present:
  1090.      afax [-f faxfile]
  1091. If the `faxfile' option is given, `Afax' will come up with the given
  1092. file name set as both its source and FAX file. This is used when `Afax'
  1093. is started from the fax printer-driver. A common source and fax file is
  1094. treated as a special case by the spooler, which will not delete the fax
  1095. file when transmission is complete.
  1096.  
  1097. This brings up a window which you can use to create new Fax documents,
  1098. edit the documents, create the actual AFAX files, and send your faxes.
  1099. It also allows you to monitor the status of faxes queued for
  1100. transmission and maintain the queues, and to re-queue faxes that have
  1101. exceeded teir allowed retry count.
  1102.  
  1103.  
  1104. NEWFAX
  1105. =======
  1106.  
  1107. `AFAX:C/newfax faxname'
  1108. This program is automatically invoked by faa when a fax is received. It
  1109. puts up a window informing you of the Fax, with details about it (name,
  1110. sender ID, number of pages), and allows you to view, print or delete
  1111. the document.
  1112.  
  1113.  
  1114. AFAXSPL
  1115. ========
  1116.  
  1117.      [run >nil: <nil:] afax:c/afaxspl  [-s] [-i n] [-d num]
  1118.  
  1119. With the `-s' option, the spooler will run once only, checking for any
  1120. faxes waiting to be spooled out. In this mode, it could be launched
  1121. using cron/dcron/amicron at whatever times you wish to send faxes.
  1122.  
  1123. Otherwise it will run in background and check for faxes to spool at
  1124. intervals of every `n' minutes, where `n' is the interval in minutes
  1125. from the configuration file default, optionally overridden by the `-i'
  1126. command-line switch. You could do this perhaps every 1/2 hour, (n =
  1127. 30), or even at 1 minute intervals while testing.
  1128.  
  1129. The spooler checks for files of the form `FAXSPOOL:*.SPL'. These are
  1130. human-readable. As calls progress, results are added to the end of the
  1131. file. If successfully sent, the file is renamed `FAXSPOOL:*.OK' . If
  1132. unsuccessful for more than the specified number of tries, it is renamed
  1133. `FAXSPOOL:*.ERR'.
  1134.  
  1135. See Spool-File Format, for specifics on spool-file contents.
  1136.  
  1137. The queues are maintained from the `QCheck' module of the `afax'
  1138. command. See AFAX.
  1139.  
  1140. `-d' is used to specify the debug level (0-9).
  1141.  
  1142.  
  1143. MKAFAX
  1144. =======
  1145.  
  1146.      mkafax [-s][-f][-dn][-Rresfile] <docfilename> <AFAX_filename>
  1147.  
  1148. `mkafax' currently recognizes the IFF file types AFAX and ILBM, plain
  1149. text files, and AFAX command text files, as input.
  1150.  
  1151. A plain text file will be converted to an AFAX file using default
  1152. settings.
  1153.  
  1154. An IFF ILBM will be converted to a single-page FAX document. Only the
  1155. first plane is converted, to convert multi-plane (eg DigiView Pics) use
  1156. another tool, such as PfiltView (AmigaTeX).
  1157.  
  1158. See AmigaFax Command File Format, for a full description of the
  1159. command-file formatting instructions.
  1160.  
  1161. The switches `-s' and `-f' are used to force `Standard' and `Fine'
  1162. resolution repectively.
  1163.  
  1164. `-d0' to `-d9' sets the debug level.
  1165.  
  1166. The `-R' option specifies the name of the file to pass operational
  1167. results in. This is meant for internal use only, and is not a feature
  1168. guaranteed to be maintained. However some users have found it useful in
  1169. their environment, if you need to know the file format please ask me
  1170. for it.
  1171.  
  1172.  
  1173. AFAXSEND
  1174. =========
  1175.  
  1176.      afaxsend [-options]  <dialstring | alias> <AFAX_filename>
  1177.  
  1178. The present options are:
  1179.      -t         Tone Dial (default is Pulse)
  1180.      -P         DoPadding on  (Uppercase P)
  1181.      -p         DoPadding off (Lowercase p)
  1182.      -d n       Set debug level, 0-9
  1183.      -D device  Use named device    (default serial.device)
  1184.      -U unit    Use specified unit  (default 0)
  1185.      -Rfile     Write result in file
  1186.  
  1187. Command line options are normally not used, and settings are taken from
  1188. environment values of `Faxlib:config'. If given, the command line
  1189. switches take precedence.
  1190.  
  1191. The `-R' option specifies the name of the file to pass operational
  1192. results in. This is meant for internal use only, and is not a feature
  1193. guaranteed to be maintained. However some users have found it useful in
  1194. their environment, if you need to know the file format please ask me
  1195. for it.
  1196.  
  1197. `afaxsend' attempts to dial out, connect to the remote fax machine, and
  1198. tranfer the specified document.
  1199.  
  1200. `afaxsend Jeff MyFaxFile'
  1201.  
  1202. If the first character of dialstring is not a digit, and not a name
  1203. alias, the whole string will we be sent to the modem non-prefixed as a
  1204. dial string. If an alias is used, it may be a group alias, resulting in
  1205. the fax being sent to everyone in that group.
  1206.  
  1207.  
  1208. AFAXPRT
  1209. ========
  1210.  
  1211.      afaxprt [-pnum] [-n] [-dn]<AFAX_filename>
  1212.  
  1213. eg `afaxprt -p2 MyFaxFile'
  1214.  
  1215. If the `-p' option is not used, all pages are printed.
  1216.  
  1217. Using the `-n' option causes `afaxprt' not to send the data to the
  1218. printer. Useful with the debug option `-d'.
  1219.  
  1220. `afaxprt' sends the AmigaFax document to the preferences printer. It is
  1221. a good idea to set your printer for high density.  Using a dot-matrix,
  1222. Halftone Dithering, Integer Scaling, Black and White, Density 7 appears
  1223. to work ok.
  1224.  
  1225.  
  1226. FAA
  1227. ====
  1228.  
  1229. `faa [BaseName]'
  1230.  
  1231. Fax auto-answer. Sets up the FaxModem to auto-answer and recognise Fax
  1232. or data tranmissions. Incoming Faxes will be saved in AFAX format. the
  1233. default BaseName is `FAXREC:FAX', so that incoming faxes will be named
  1234.      FAXREC:FAX0000
  1235.      FAXREC:FAX0001
  1236.      FAXREC:FAX0002
  1237.  
  1238. etc.
  1239.  
  1240. Note also that although `faa' recognises the difference between Fax and
  1241. Data, it currently does nothing special with data. This may be
  1242. integrated with the UUCP system in the future, along with *VoiceMail*
  1243. capability.
  1244.  
  1245. To terminate the `faa' program, send it a CTL_C break. If you ran it
  1246. directly from your shell, just type control-C and wait. If you used
  1247. `RUN' or `RUNBACK', send a break to its process number. (eg break 7 all)
  1248.  
  1249. Command Line switches are:
  1250.      -a    - Immediate Answer
  1251.      -dn    - Set debug on, level n     (default 1)
  1252.      -D name    - Use name for the device     (default serial.device)
  1253.      -U num    - Use device unit num         (default 0)
  1254.      -G    - Run from a Getty
  1255.      -z    - Diagnostic, do not detach, so debug messages can be read
  1256.      -p    - Bump task priority by 1
  1257.      -Q    - Qtest mode
  1258.  
  1259. The Immediate Answer switch assumes phone is ringing, configures the
  1260. modem & answers immediately. It probably makes sense to attach this to
  1261. an alias if you use it this way. eg. `alias fa "faa -a"'
  1262.  
  1263. The Getty option specifies that faa was run from a Getty. It will not
  1264. modify the serial port parameters. It assumes that the Getty has
  1265. answered the phone, detected a Fax call, and set up the line
  1266. accordingly. Faa will connect, collect a Fax document, and return
  1267. control to the Getty.
  1268.  
  1269. If the `Qtest' option is specified, however, the baud rate will be set
  1270. to `RRate' even if `Getty' mode is specified. This was added for
  1271. compatability testing with `TrapDoor', a Getty-type front-end program.
  1272.  
  1273. As `faa' will normally detach, and so debug diagnostics are not
  1274. visible, the `-z' option was added to keep its STDIO attached to the
  1275. launching console.
  1276.  
  1277.  
  1278. AFAXILBM
  1279. =========
  1280.  
  1281.      afaxilbm [-pnum] <AFAX_filename> <ILBM_filename>
  1282.      
  1283.      eg
  1284.      
  1285.      afaxilbm -p2 RAM:AFAXR001 FX.ILBM
  1286.  
  1287. This will extract the specified page from the AFAX file to the named
  1288. ILBM file. It may then be viewed using standard ILBM viewing programs,
  1289. such as LoadImage from Fish disks 281 and 355, of programs like
  1290. DeluxePaint.
  1291.  
  1292. If no page number is given, all pages will be extracted to separate
  1293. files, and given names of the format base.1 base.2, etc
  1294.  
  1295. The default ILBM file base name is afax_ilbm
  1296.  
  1297.  
  1298. VIEWAFAX
  1299. =========
  1300.  
  1301.      viewafax [opts] <FaxFile>
  1302. The fax viewer is normally started automatically by from the `NewFax'
  1303. window. When invoked from the CLI, it takes the options:
  1304.      -d debug_level
  1305.      -p Page_Number
  1306.      -s Scale
  1307.  
  1308. The current version of the viewer keeps one entire fax page in memory.
  1309. If the page will not fit in the requested scale, it tries to reduce the
  1310. resolution until it finds one that will fit. Once a page is displayed,
  1311. you can move about the page using the arrow keys. There is a scale
  1312. gadget at the top left of the window, in the form of 1:n, where n is
  1313. the current scale (say 3). You can click on the gadget, delete the
  1314. current scale, and enter your own, in the range 1 to 8, where 1 is 1:1
  1315. (full size), 2 is 1:2 (half size) etc. To the right of that gadget is
  1316. another of the form Page: n where n is the current page displayed.
  1317. Again you may enter the required page number in this gadget.
  1318.  
  1319. To the top right of the window is a group of gadgets of the form
  1320. `|<<-->>|'. These are actually four gadgets, which allow moving through
  1321. the pages of the fax. From left to right they are First Page, Previous
  1322. Page, Next Page, and Last Page.
  1323.  
  1324. You may use the windows sizing gadget to resize the window. However
  1325. with the current viewer, sizing the window larger than the fax page
  1326. will result in the window shrinking to the page size at the next
  1327. movement.
  1328.  
  1329. Several keys are active in the viewer window.
  1330.  
  1331.    * *Down Arrow* (Cursor Key or Numeric Pad) Move window down fax page.
  1332.  
  1333.    * *Up Arrow* (Cursor Key or Numeric Pad) Move window up fax page.
  1334.  
  1335.    * *Right Arrow* (Cursor Key or Numeric Pad) Move window right on fax
  1336.      page.
  1337.  
  1338.    * *Left Arrow* (Cursor Key or Numeric Pad) Move window left on fax
  1339.      page.
  1340.  
  1341.    * *Numeric pad keys 1,3,7,9* Diagonal window movement
  1342.  
  1343.    * *i* Flip fax page vertically. Useful when faxes are sent
  1344.      upside-down.
  1345.  
  1346.    * *q* Quit from viewer
  1347.  
  1348.    * *b* Move back on page in fax file
  1349.  
  1350.    * *n* Move to next page in fax file
  1351.  
  1352.    * *f* Move to first page in fax file
  1353.  
  1354.    * *e* Move to end page in fax file
  1355.  
  1356.    * *s* Make fax smaller - reduce scale one step
  1357.  
  1358.    * *l* Make fax larger - increase scale one step
  1359.  
  1360.  
  1361. FXFX
  1362. =====
  1363.  
  1364. This utility allows you to split and merge AFAX format fax files. A
  1365. typical use is where you have a complete fax document, perhaps
  1366. generated by TeX->dvifax, or received as an AFAX fax-file and you want
  1367. to sent it with an attached cover page, or you want to extract one or
  1368. more pages from the document.
  1369.  
  1370.      The command-line format is:
  1371.      
  1372.      fxfx [-f][-s] infile [-range] [infile[-range]] [...] outfile
  1373.      
  1374.      Some examples:
  1375.      
  1376.      fxfx file1 file2
  1377.      
  1378.       copies fax files file1 to file2
  1379.      
  1380.      fxfx file1 file2 file3 file4
  1381.      
  1382.       merges all pages from file1-3 to create file4
  1383.      
  1384.      fxfx file1 file2 -1,3,5-7,9- file3 -4 file4
  1385.      
  1386.       merges all pages from file1, pages 1,3,5-7 and 9 on from file2, and
  1387.       page 4 from file3, to create file4
  1388.      
  1389.      
  1390.      The range is currently sorted, so to reverse page order is currently
  1391.      not simple, eg
  1392.      
  1393.      fxfx file1 -3 file1 -2 file1 -1 file2
  1394.      
  1395.       to create file2 from pages 1-3 of file1 in reverse order.
  1396.  
  1397. The flags `-s' and `-f' are used to override the resolution flags when
  1398. translating. This may be useful when a fax machine has sent you a fax
  1399. with the incorrect resolution flags, as a fax machine in Brazil does to
  1400. me. It sends in `Standard', but sets the `Fine' flag. I can correct
  1401. this with
  1402.  
  1403. `fxfx -s faxfile newfaxfile'
  1404.  
  1405.  
  1406. DVIFAX
  1407. =======
  1408.  
  1409. This module works with the AmigaTeX package from Radical Eye Software,
  1410. to enable you to convert a TeX  `.dvi'  file into an AmigaFax fax file.
  1411.  
  1412. The command line syntax is
  1413.      dvifax file.dvi -o file.afx
  1414.  
  1415. You will be prompted for various size and scaling numbers. You are
  1416. probably best to accept the default values (hit return) unless you have
  1417. a very good idea what you are doing.
  1418.  
  1419. The  Squeeze Fax  option will remove all white-space from the top and
  1420. bottom of each page. This can result in significant savings in
  1421. transmission time, and in fax paper at the other end.
  1422.  
  1423. When creating faxes with `dvifax', you may want to add a cover page.
  1424. This can be done easily with the  `fxfx'  utility.
  1425.  
  1426.  
  1427. SHOWLIB
  1428. ========
  1429.  
  1430. This programs attempts to open the `afax.library' and display its
  1431. contents. You can use this to confirm that a valid license library is
  1432. available, check for user name, expiry date, etc. Output is of the form:
  1433.  
  1434.      Current AmigaFax Library:
  1435.      
  1436.      Version = 1
  1437.      Type    = 1
  1438.      Serial  = 0
  1439.      No Expiry
  1440.      Level   = 10
  1441.      User    = David Varley
  1442.  
  1443. For registered users the fields `Serial' and `User' should display your
  1444. registration serial number and your name. The `Version' field is an
  1445. internal library revision, the `Type' field is reserved and may be
  1446. later used to distinguish between reviewer, distributor, user, etc. The
  1447. `Level' is presently unused, but could be used for a service level, and
  1448. there may also be an licence expiry date shown. At present all
  1449. registered user licences should show `No Expiry'.
  1450.  
  1451.  
  1452. PRINTSYMB
  1453. ==========
  1454.  
  1455. The `printsymb' module is used to translate data from the `afax.driver'
  1456. printer driver into fax format, and save as a file. Under AmigaDOS2.0
  1457. it will be run automatically by the driver, but under AmigaDOS1.3 it
  1458. must be run up manually. It may be run in background, using a command
  1459. such as `RunBack', from somewhere in your startup sequence.
  1460.  
  1461. You can also run it manually from a CLI for diagnostic purposes. When
  1462. run manually it takes the command line arguments
  1463.      -h   Hang Around. Do not terminate when afax.driver is expunged
  1464.      -r   Replace.     Replace a currently running printsymb
  1465.      -q   Quit.        Kill any currently running printsymb and terminate
  1466.  
  1467. If you run `printsymb' from a normal shell window, and print using the
  1468. `afax.driver.debug' version of the driver, you will get lot of
  1469. diagnostic information about how your application program is accessing
  1470. the printer device. This can be useful for me in getting the driver to
  1471. work with as many applications as possible.
  1472.  
  1473.  
  1474. FPRINT
  1475. =======
  1476.  
  1477. `FPrint' is a small program that changes the in-memory system
  1478. `Preferences' to use the `afax.driver', puts up a requester informing
  1479. you that print has been redirected, and waits for you to signal it to
  1480. cease redirection. This can be useful for quickly redirecting output to
  1481. a fax without changing your main preferences settings, especially if
  1482. you tie `FPrint' to a `HotKey' using a program such as `FKeys'.
  1483.  
  1484. `FPrint' may not always work as expected, however, as some applications
  1485. will adjust the printer from saved settings. For these you will have to
  1486. use the normal `Printer' command to set your default printer to
  1487. `afax.driver'.
  1488.  
  1489.  
  1490. FAXINFO
  1491. ========
  1492.  
  1493. `FaxInfo' is a small utility that displays the header information from
  1494. a fax file, including the sender ID, date and number of pages. It is
  1495. passed a list of fax file names on the command line. If given the `-n'
  1496. command line option, the information is also attached to the file's
  1497. FileNote area. This utility can be useful for scanning a directory of
  1498. received files, to determine ones from a particular number or area
  1499. code, for example.
  1500.  
  1501.  
  1502. AmigaFax Command File Format
  1503. =============================
  1504.  
  1505. An AFAX command file uses lines starting with a dot (.) as special
  1506. commands, similar to TROFF style text processors. The file MUST start
  1507. with .FCOM on the first line.
  1508.  
  1509.       .FCOM
  1510.          on the first line to be recognised as a command file.
  1511.          .FCOM may optionally be followed by a dialstring or target alias.
  1512.          (Currently unused, future compatability)
  1513.      
  1514.      Other commands currently supported are :
  1515.      
  1516.       .PG    Clear out the old page and start a new one
  1517.       .LM n    Set the left margin to n characters, in the current font
  1518.       .LI n    Set the left  indentation to n pixels (default 50)
  1519.       .RI n    Set the right indentation to n pixels (default 50)
  1520.       .LJ    Left-justify text and Graphics from now on
  1521.       .RJ    Right Justify text and Graphics
  1522.       .CT    Center Text and Graphics
  1523.       .TS n    Set Tabs every n characters (default 8)
  1524.       .PL n    Set page length to n (pixel) rows (default 2292 == A4)
  1525.       .FILL    Turn on fill mode
  1526.       .NOFILL Turn off fill mode
  1527.      
  1528.       .VERBATIM
  1529.          All text read in will be printed verbatim, until .ENDVERB
  1530.      
  1531.       .VERBINC filename
  1532.          Include a file in verbatim mode. Still requires a .ENDVERB
  1533.      
  1534.       .ENDVERB
  1535.          End verbatim mode
  1536.      
  1537.       .FONT name size [styles]
  1538.          Set the font as specified. Typical use might be
  1539.          .FONT topaz 11
  1540.          .FONT diamond 20
  1541.          .FONT cmr10 30
  1542.          and so on. See the .STYLE command for style options.
  1543.      
  1544.       .ENDF    pop the current font/style, and return to the previous one.
  1545.      
  1546.       .STYLE styles
  1547.          Set the style according to the style string,
  1548.              N - Normal
  1549.              B - Bold
  1550.              U - Underlined
  1551.              I - Italics
  1552.              E - Extended
  1553.          eg .STYLE BU    (set to bold, underlined)
  1554.      
  1555.       .     (dot followed by white-space) Rest of line is a comment
  1556.      
  1557.       .INC file
  1558.          Include the named file. File may be text, ILBM, or another command
  1559.          file. Type is auto-recognised. If a full path is not given to the
  1560.          include file, the current directory will be searched, then the
  1561.          FAXLIB: directory. Thus addresses, signatures, etc may be kept
  1562.          in FAXLIB:
  1563.      
  1564.          From version 1.34, you may also .INC an AFAX format file. At
  1565.          present only one page is included, by default the first page.
  1566.          Page number can be specified by an optional parameter, eg
  1567.          .INC FAXREC:Fax0001 2
  1568.          At present only 1 page from an AFAX file can be included for each .INC
  1569.          command, and no data after that page will appear on the page it is
  1570.          included on. Text/graphics can be included before the included fax
  1571.          page, so you could use this, for example, to automatically add some
  1572.          header text to a received fax before relaying it on.
  1573.          Note that at present, normal page-length checking is NOT done while
  1574.          processing the included fax page, so you may get a longer than
  1575.          expected page.
  1576.      
  1577.       .DATE    Insert a line with the current date and time, using current font
  1578.          and line settings.
  1579.  
  1580. Any line not beginning with a . will be processed as normal text,
  1581. according to the current settings.
  1582.  
  1583.  
  1584. Fill Mode
  1585. ----------
  1586.  
  1587. In this mode, lines will be filled from input to full width (inside LR
  1588. indent) in the current font. Line filling terminates on a dot command,
  1589. blank line, or end of page. Left Margin is disabled while filling.
  1590.  
  1591. See the included  `test.com'  file for examples of useage.
  1592.  
  1593.  
  1594. Stackable fonts and Style support
  1595. ----------------------------------
  1596.  
  1597. Version 1.34 and later of `mkafax' support stackable fonts, and the use
  1598. of styles, such as *Bold* , *Italic* and `Underline'.
  1599.  
  1600. Useage of the command  `.FONT'  has been extended, and the commands 
  1601. `.STYLE'  and  `.ENDF'  have been added.
  1602.  
  1603. The font system has been modified so that fonts are now nestable. This
  1604. means you can set a font/style, and then return to the original
  1605. font/style, without needing to know what that was. This can be very
  1606. useful for include files, which can return to the original font before
  1607. they exit, for example.
  1608.  
  1609. The  `.FONT'  command now takes an optional third parameter, which
  1610. defines the requested style to use. This takes the form of a string,
  1611. consisting of the letters  `N, B, U, I'  and  `E'  in any order, upper
  1612. or lower case.
  1613.  
  1614.      N - Normal
  1615.      B - Bold
  1616.      U - Underlined
  1617.      I - Italics
  1618.      E - Extended
  1619.  
  1620. Note that the letters are parsed in order, and that  `N'  will clear the
  1621. other flags and set the font back to normal. For example,
  1622.  
  1623.      .FONT topaz 30 BU
  1624. will set the font to topaz 30, Bold and Underlined.
  1625.  
  1626.      .FONT CGTimes 50 I
  1627. set CGTimes at 50-point, Italic.
  1628.  
  1629. You can retain the existing font, but change its style, by using the
  1630. new .STYLE command.
  1631.  
  1632.      .STYLE U
  1633.      
  1634.      This is Underlined.
  1635.      
  1636.      .STYLE IU
  1637.      
  1638.      This is Underlined and Italic.
  1639.  
  1640. All `.FONT' and `.STYLE' commands can now be nested. This means that
  1641. the font/style you set will remain in effect until the new command
  1642. `.ENDF' is encountered. After this the previous font/style set will be
  1643. in force. The Default font, which can be set from your `FAXLIB:Config'
  1644. file or by environmental variable, is always the underlying font. No
  1645. matter how many `.ENDF' commands you enter, this will not be popped
  1646. from the font stack.
  1647.  
  1648. Note that if you have defined a `Header' font, this will be
  1649. automatically pushed for headers, and popped afterwards.
  1650.  
  1651.      Example .FCOM file:
  1652.      
  1653.      .FCOM
  1654.      This is in default font
  1655.      .FONT CGTimes 30 U
  1656.      This is in Underlined 30 point CGTimes
  1657.      .FONT topaz 20 B
  1658.      This is in Bold 20 point topaz
  1659.      .STYLE NIU
  1660.      And this is Italic Underlined 20 point topaz
  1661.      .ENDF
  1662.      Bold 20 point topaz
  1663.      .ENDF
  1664.      Underlined 30 point CGTimes
  1665.      .ENDF
  1666.      Default font
  1667.      .ENDF
  1668.      Default font
  1669.  
  1670.  
  1671. Other Files
  1672. ************
  1673.  
  1674.  
  1675. FAXLIB:Aliases
  1676. ===============
  1677.  
  1678. This file allows you to alias numbers to names, create fax mailing
  1679. groups, etc. Aliases may be defined in terms of other aliases.
  1680.  
  1681. For example we could have:
  1682.  
  1683.      joe: 1234596
  1684.      
  1685.      fred: 9876123
  1686.      
  1687.      bill: 0981234
  1688.      
  1689.      andy: "0,123-4567,,,"
  1690.      
  1691.      customers: joe, fred, bill
  1692.  
  1693. Lines beginning with # are treated as comments, a comma means the alias
  1694. list continues.
  1695.  
  1696. If you want to include spaces or commas in an alias (commas are a way
  1697. of inserting delays into a dial-string), you should surround the
  1698. aliased number with double quotes. Adding coma-delays at the end of a
  1699. dial string can be useful when dialing numbers that take a long time to
  1700. respond, avoiding possible timeouts.
  1701.  
  1702. The alias system is modelled closely on the one used in Matt Dillon's
  1703. UUCP package. See UUCP documentation for more details. Thanks, Matt.
  1704.  
  1705.  
  1706. FONTS
  1707. ======
  1708.  
  1709. AmigaFax can use all the standard Amiga fonts. Under AmigaDOS2.0 the
  1710. ability to perform font-scaling means that you can generate quite
  1711. impressive documents very easily.
  1712.  
  1713. The AmigaFax distribution also includes a selection of larger sized
  1714. fonts from the Computer Modern series, which again allows very high
  1715. quality faxes to be produced. These were generated from standard TeX
  1716. fonts using the TEXF program. Note that these fonts do not contain the
  1717. umlaut characters commonly used in Europe.
  1718.  
  1719. These include the fonts  cmr10, cmbx10, cmssbx10 and cmtt10  in sizes
  1720. from 29 to 103.
  1721.  
  1722. I would suggest that anyone using AmigaDOS 2.0 use the standard Amiga
  1723. fonts. Even Topaz scaled to 30 point size or greater comes out quite
  1724. effectively. Play around until you find a setup you like.
  1725.  
  1726.  
  1727. Integration with other software
  1728. ********************************
  1729.  
  1730.  
  1731. UUCP
  1732. =====
  1733.  
  1734. AmigaFax was designed from the beginning to integrate with UUCP, in
  1735. particular with Matt Dillon's AmigaUUCP1.15D. Using the modified Getty
  1736. program provided, a Fax call will be recognised, and the Fax
  1737. auto-answer program will be called to handle it. Normal logins and UUCP
  1738. connections should function as usual.
  1739.  
  1740. Other facilities, such as network fax-server capability, can be
  1741. provided to enhance the basic AmigaFax system.
  1742.  
  1743.  
  1744. TeX
  1745. ====
  1746.  
  1747. We have written a  `dvifax'  program, which will take a standard TeX
  1748. `.dvi'  file, and transform it to an AmigaFax file, with superb quality
  1749. output. This is now provided with the distribution.
  1750. Martin Steppler and Martin Horneffer have donated a set of `PasTeX'
  1751. compatability programs, to enable AmigaFax to run with the `PasTeX'
  1752. freely distributable TeX package. This package is included in the
  1753. distribution. *We have not tested these programs here.*
  1754.  
  1755.  
  1756. PostScript
  1757. ===========
  1758.  
  1759. PostScript support is not yet in place, but it is on the list. Priority
  1760. given depends on demand.
  1761.  
  1762.  
  1763. Printer Driver
  1764. ===============
  1765.  
  1766. The AmigaFax printer driver `afax.driver' allows any program that sends
  1767. its output via the standard Amiga printer-driver is able to create fax
  1768. files. This includes many desktop publishing packages, word-processors,
  1769. drawing and paint programs, etc.
  1770.  
  1771. *Be aware:* that the present version  of the afax.driver, as released
  1772. with AmigaFax version 1.40, only converts *print graphics dumps* to fax
  1773. files. Normal text sent to the printer is ignored. This may change for
  1774. future releases.
  1775.  
  1776.  
  1777. BBS Systems
  1778. ============
  1779.  
  1780. The FifoBBS BBS system for VLT is no longer distributed with AmigaFax. 
  1781. There several BBS systems that should work well alongside AmigaFax, the
  1782. one we are currently using at C-Born is *TransAmiga*. This is a freely
  1783. distributable shareware package which also supports FidoNet. It is
  1784. available from several sources, including Amiga ftp sites. See the file
  1785. BBSREADME in the distribution disk BBS directory for more details.
  1786.  
  1787.  
  1788. Registration and Maintenance
  1789. *****************************
  1790.  
  1791. AmigaFax has always been distributed in two versions. The demonstration
  1792. version was freely distributable, but had certain limitations, in
  1793. particular the ability to transmit and receive only single-page faxes.
  1794. The registered version was sent out directly to registered users, and
  1795. was made available in restricted access areas of the BBS, UUFS
  1796. fileserver and BMS. The majority of the package was the same for both
  1797. versions.
  1798.  
  1799. With the increasing ease of access to networked file storeage systems,
  1800. such as AmiNet, the ability of users to collect the latest registered
  1801. version of the software over a network would greatly ease the
  1802. distribution bottleneck. Registered software could also be distributed
  1803. by means such as the Fish CD-ROMs.
  1804.  
  1805. In order to implement this, AmigaFax Version 1.40 and later incorporate
  1806. a licence management facility, implemented as a loadable library,
  1807. `afax.library'. This means that on registration only a small library
  1808. file needs to be sent to a user with the AmigaFax package, and
  1809. registered users can always load and use all the features of the latest
  1810. distribution when it appears on the networks, BBS, CD-ROM, etc.
  1811.  
  1812. The licence library has facilities for various levels of access, and
  1813. for limited-time licences, so that users may try with all features
  1814. enabled for a limited period. If the licence library is not found, the
  1815. package will still operate fully in demonstration mode, which for many
  1816. casual users will meet all their requirements.
  1817.  
  1818.  
  1819. Getting Updates
  1820. ================
  1821.  
  1822. The latest version of AmigaFax is available from our BBS system, as
  1823. well as via e-mail, using either the UUFS fileserver or Matt Dillon's
  1824. BMS (Batch Mail System) for AmigaUUCP. We can also send it out on disk
  1825. by mail if necessary. We now have a a direct Internet connection,
  1826. however access make be limited due to external corporate firewall
  1827. policies.  and AmigaFax may be available for direct `ftp' access then.
  1828. Try `ftp.cborn.pth.alcoa.com' to see if this is available to you.
  1829.  
  1830. Our BBS system is *TransAmiga*, and it currently runs on the same line
  1831. as our AmigaFax, `+61-52-786355'. This number is likely to change some
  1832. time in 1995.
  1833.  
  1834.      Our mailing address is:
  1835.      
  1836.      C-Born Software System
  1837.      59 West Fyans St.
  1838.      Geelong, 3220
  1839.      Victoria, AUSTRALIA.
  1840.      
  1841.      Phone +61-52-290144
  1842.      Fax   +61-52 290248
  1843.  
  1844. At present, the BMS server site is
  1845.  
  1846. `cborn.pth.alcoa.com'
  1847.  
  1848. and the UUFS fileserver can be reached as
  1849.      fs@cborn.pth.alcoa.com
  1850. You can reach me by email as
  1851.      dave@cborn.pth.alcoa.com
  1852.  
  1853. You can request help on useage of the UUFS fileserver by sending it
  1854. email containing the following body text:
  1855.      REPLYTO <Your email address>
  1856.      INFO
  1857.      ?
  1858.      HELP
  1859.      ASCII
  1860.      GET BMS:Pub/Files
  1861.      QUIT
  1862.  
  1863. The REPLYTO field is only necessary if your return address is not
  1864. easily resolveable, for example if your mail is forwarded via a machine
  1865. that mangles your path. `<Your email address>' is a working address
  1866. from `drum3' to you, the `<>' are not included. `BMS:Pub/Files' lists
  1867. all the accessible files. Generally requesting
  1868. `BBS:File/AfaxDemo/AmigaFax.lha' should get you the latest version.
  1869.  
  1870.  
  1871. Registration
  1872. =============
  1873.  
  1874. The registration fee has been held at $A65, or $US50, for several years
  1875. now. (The original offer was valid until 6 April 1992, but we never got
  1876. around to changing it) We accept MasterCard, VISA and BankCard in
  1877. Australian dollars. EuroCheques are not accepted (we've tried, the
  1878. local banks won't accept them!).
  1879.  
  1880.      Here is an example registration form:
  1881.      
  1882.           o /
  1883.      ------X------cut here--------------------------------------------------
  1884.      
  1885.                         AMIGAFAX REGISTRATION
  1886.      
  1887.      To:
  1888.          C-Born Software Systems
  1889.          59 West Fyans St.
  1890.          Geelong, 3220
  1891.          Victoria, AUSTRALIA
  1892.      
  1893.      
  1894.      Name:                               Phone:
  1895.              _________________________            _________________________
  1896.      
  1897.      
  1898.      Address:
  1899.              _______________________________________
  1900.      
  1901.      
  1902.              _______________________________________
  1903.      
  1904.      Country:                                Postal Code:
  1905.              _________________________                     ________________
  1906.      
  1907.      
  1908.      Email:
  1909.              _________________________
  1910.      
  1911.      
  1912.      Payment Method:
  1913.      
  1914.      
  1915.       MasterCard  ( )     Visa  ( )     BankCard  ( )     Bank Cheque  ( )
  1916.      
  1917.      
  1918.      Card No.                                         Exp:
  1919.               _______________________________________       __________
  1920.      
  1921.      
  1922.      CardHolder Name:                                 Amount:  $65.00 Australian
  1923.                        ______________________________
  1924.      
  1925.      
  1926.           o /
  1927.      ------X------cut here---------------------------------------------------
  1928.  
  1929.  
  1930. Technical Details and File Formats
  1931. ***********************************
  1932.  
  1933.  
  1934. Spool-File Format
  1935. ==================
  1936.  
  1937. The format of the spool-file used to control timed transmission of
  1938. faxes should be regarded as for internal use, and subject to change. We
  1939. this proviso, we are making the format available as we have had several
  1940. requests from users who would like to write enhanced spooling code. At
  1941. present there are no plans to alter the syntax of the current entries,
  1942. however others may be added, and those writing software should allow
  1943. for this.
  1944.  
  1945.  
  1946.      The Spool File may contain the following KeyWords:
  1947.      
  1948.      Required
  1949.      --------
  1950.      To:      Destination
  1951.      Source:  Source file - could be text, iff-ilbm, command text, afax
  1952.      Fax:     Afax format file. If <8 bytes, will be created from source
  1953.      
  1954.      Optional
  1955.      --------
  1956.      Sendat:  Don't send until after this time
  1957.      From:    Sender of Fax
  1958.      Retries: Allowed number of failed tries before move to error queue
  1959.      Dispose: If set, then Source may be deleted once sent OK
  1960.      Result:  Result code for transmit
  1961.      Fine:    If present, build in FINE mode, else STANDARD
  1962.      Device:  Transmit fax on this device
  1963.      Unit:    Transmit fax on this unit
  1964.      SendOK:  Valid transmit time string (as in L.sys)
  1965.      
  1966.      Other key-words may be present, but will be ignored.
  1967.      
  1968.      The Sendat: time format is currently an Amiga longword time value, in
  1969.      ASCII and prefixed with the letter "L".
  1970.      The present code will take anything without leading L as time 0, so
  1971.      send any time.
  1972.      Other formats may be supported later, including ranged times.
  1973.      
  1974.      12AUG94 - Ranged time support (SendOK:) per L.sys:
  1975.      The valid time range may have no spaces, line format is:
  1976.      
  1977.          Any          the system can be called at any time
  1978.      
  1979.          Never        the system can never be called
  1980.      
  1981.          hh:mm-hh:mm  any day in the hour range indicated (24hr time)
  1982.      
  1983.          MoTuWeThFrSaSuhh:mm-hh:mm
  1984.                       On the days indicated in the hour range indicated.
  1985.      
  1986.          <timespec>,<timespec>
  1987.          MoTuWeThFr02:00-03:00,SaSu00:00-23:59
  1988.                  On the days indicated in the hour range indicated,
  1989.                  time specs separated by commas.
  1990.  
  1991. See AFAXSPL.
  1992.  
  1993.  
  1994. AFAX IFF File Format
  1995. =====================
  1996.  
  1997. Note that the afax file format may be changed at some later date to a
  1998. general standard cross-platform fax-file format. Also individual header
  1999. items may change, but changes are likely to me minor additions, so as
  2000. to avoid breaking existing code.
  2001.  
  2002. This is not a formal description, but should be sufficient for those
  2003. wishing to read or write compatible files.
  2004.  
  2005.  
  2006.      general IFF form is:
  2007.      
  2008.       * AFAX        - Amiga Fax FORM
  2009.       *   FXHD    - Document header
  2010.       *   FXPG     - One fax page
  2011.       *     FPHD    - Page header
  2012.       *     FX1D    - Page Data
  2013.      
  2014.      
  2015.      
  2016.      FXHD    Overall Fax document header
  2017.      ====
  2018.          UWORD w;    /* Width in pixels (Max for doc) */
  2019.          UWORD h;    /* Height in lines (Max for doc) */
  2020.      
  2021.          UBYTE vr;    /* Per T30 */
  2022.          UBYTE wd;
  2023.          UBYTE ln;
  2024.          UBYTE df;
  2025.      
  2026.          char lid[20];    /* Local and Remote ID strings */
  2027.          char rid[20];
  2028.      
  2029.          LONG Stime;    /* Send and receive times */
  2030.          LONG Rtime;
  2031.      
  2032.          UBYTE Flags;    /* b0 set for RAW data */
  2033.          UBYTE pages;    /* Number of pages */
  2034.      
  2035.          UWORD Pad[3];    /* Probably forgot something... */
  2036.      
  2037.      
  2038.      
  2039.      FPHD    Fax Page Header
  2040.      ====
  2041.      
  2042.          UWORD w;    /* Width in pixels */
  2043.          UWORD h;    /* Height in lines */
  2044.      
  2045.          UBYTE vr;    /* Per T30 */
  2046.          UBYTE df;
  2047.      
  2048.          UBYTE Type;    /*  = 0 for 1-d coded data */
  2049.          UBYTE Flags;    /*  status, 0=ok,1=failed,2=timed out reading */
  2050.  
  2051.  
  2052. FaxModem Specifics
  2053. *******************
  2054.  
  2055.  
  2056. ZyXEL U-1496
  2057. =============
  2058.  
  2059. The ZyXEL U-1496 provides data rates to v32bis and higher, with v42bis
  2060. error correction and compression. It is capable of facsimile data rates
  2061. greater than 9600bps, currently up to 14400bps. ZeroOne makes ROM
  2062. upgrades available through their BBS, with frequent upgrades. They are
  2063. very helpful and responsive to customer requests.
  2064.  
  2065. The latest ROM version we have used is  V6.13 .
  2066.  
  2067. With this ROM, it is possible to lock the DCE/DTE data rate for fax
  2068. with the sequence `ATS38=8S18=n' , where  n  is the DTE speed as per
  2069. the S20 register list, eg 2 for 38.4Kbps, 3 for 19.2Kbps.
  2070.  
  2071. There is a Voice-mode ROM for the ZyXEL currently in Beta-test. When
  2072. this is released, we will try to integrate it with AmigaFax. this will
  2073. allow you to send and receive voice messages, as well as fax and data
  2074. calls, all from your Amiga.
  2075.  
  2076. A few more tips on configuration, with getty. In my standard startup
  2077. line I have been setting the page-length to A4, as my printer is A4,
  2078. which is the standard here. However, it appears that my fax (and most
  2079. others) when appending their header/footer lines, force the page past
  2080. A4. This has not been a problem in the past, but now the U1496 must be
  2081. obeying the page-length setting, and forces out an extra very short
  2082. page for each A4 page. This causes handshake problems, etc.
  2083.  
  2084. So for now, the best solution seems to be setting up for unlimited
  2085. page-length. The AmigaFax software has no problem with this, but your
  2086. printer may, if single-sheet type.
  2087.  
  2088. Another option allows fax data-rates greater than 9600. Not many fax
  2089. machines support this yet, but we may as well use it, just in case.
  2090.  
  2091. The latest versions of this modem support Class-2.0 operation as well
  2092. as Class-2, and AmigaFax appears to work correctly in either mode.
  2093.  
  2094.      The +FDCC options are as follows:
  2095.      
  2096.      +FDCC=1,5,0,2
  2097.            ^ ^ ^ ^
  2098.            | | | +- Page Length: 0=A4(297mm) 1=B4(364mm) 2=unlimited
  2099.            | | +--- Page Width : 0=1728 Pixels in 215mm
  2100.            | +----- Bit Rate   : 0=2400 1=4800 2=7200 3=9600 4=12000 5=14400
  2101.            +--------Vert. Res. : 0=Normal(98 lpi) 1=Fine(196 lpi)
  2102.  
  2103. Other options cover compression format, error correction mode, binary
  2104. file transfer, and scan time. These are not yet supported, probably not
  2105. until the standards are finalized.
  2106.  
  2107. The line I use to start up `Getty' is:
  2108.  
  2109.      RunBack Getty -Mh -B19200 -x8 -F6 AT&C1&D3+FDCC=1,5,0,2
  2110.  
  2111. As I have the FaxModem running from a  AS2232  multiport serial card,
  2112. with a maximum baud rate of 19200, I must limit the DCE/DTE rate to
  2113. that.
  2114.  
  2115. When running with ROM version 6.13 and AmigaFax in Class-2.0 mode, I
  2116. run `Getty' up with the command line
  2117.  
  2118.      RunBack getty -Mh -B19200 -x9 -F14 AT&C1&D3+FCC=1,5,0,2
  2119.  
  2120.  
  2121. Maestro 9600XR
  2122. ===============
  2123.  
  2124. This is a low-cost Australian made 2400bps data, 9600bps send/receive
  2125. fax modem, based on the Exar chipset. It does not allow DCE/DTE rate
  2126. locking, and as of the latest version ROMs we have, still has
  2127. occasional problems in correctly synchronising to incoming fax data,
  2128. resulting in `garbage data' faxes, and missing lines from the top of
  2129. pages. These problems may have been fixed in later ROM versions, but we
  2130. have not been notified of any upgrades. The modem software does not
  2131. appear to observe specified line-scan delays, which may result in
  2132. missing lines when transmitting to older/slower fax machines.
  2133.  
  2134. A typical Getty startup-line for this modem is:
  2135.      run >nil: <nil: Getty -Mh -B2400 -F AT&C1&D2+FDCC=1,3
  2136.  
  2137.